From: Rico Tzschichholz Date: Thu, 20 Dec 2012 21:59:49 +0000 (+0100) Subject: st-scroll-view: Fix build with -Werror=maybe-uninitialized X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5179 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=52536e94e571add524b846452ff8966b70bc8a03;p=gnome-shell.git st-scroll-view: Fix build with -Werror=maybe-uninitialized --- diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c index 285ba2d60..e8ba3dff4 100644 --- a/src/st/st-scroll-view.c +++ b/src/st/st-scroll-view.c @@ -682,6 +682,7 @@ adjust_with_direction (StAdjustment *adj, delta = 1.0; break; case CLUTTER_SCROLL_SMOOTH: + default: g_assert_not_reached (); break; }